package com.hbnu.pojo;

public class User {
    private int id;
    private String name;
    private String password;
    private String address;
    private String gender;
    private Double account;

    public int getId() {
        return id;
    }

    public int setId(int id) {
        this.id = id;
        return id;
    }

    public String getName() {
        return name;
    }

    public String setName(String name) {
        this.name = name;
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String setPassword(String password) {
        this.password = password;
        return password;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
        return address;
    }

    public String getGender() {
        return gender;
    }

    public String setGender(String gender) {
        this.gender = gender;
        return gender;
    }

    public Double getAccount() {
        return account;
    }

    public Double setAccount(Double account) {
        this.account = account;
        return account;
    }

    ///////////////////setid中：this.id=id；  return this
    // 所有的set方法改成User并返回自身//////////////////////////

}
